package com.xinqi.modules.mq;

import com.xinqi.common.rocketmq.annotation.EnableMqConsumer;
import com.xinqi.common.security.annotation.EnableXqFeignClients;
import lombok.extern.slf4j.Slf4j;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.context.annotation.ComponentScan;

/**
 * @author linkai
 * @date 2023/1/10
 */
@Slf4j
@EnableMqConsumer
@EnableDiscoveryClient
@SpringBootApplication
@EnableXqFeignClients
@ComponentScan(basePackages = {"com.xinqi.modules.mq", "com.xinqi.common"})
public class MqApplication {
    public static void main(String[] args) {
        SpringApplication.run(MqApplication.class, args);
        log.info("MqApplication start success !!!!!!!!!!!!!!!!!!");
    }
}
